package com.dfbz.entity;


import java.util.Date;

public class Article {

  private Long id;
  private String title;
  private String content;
  private Long browseCount;
  private Date publishDate;
  private String publishRealName;
  private Long userId;

  public Article(Long id, String title, String content, Long browseCount, Date publishDate, String publishRealName, Long userId) {
    this.id = id;
    this.title = title;
    this.content = content;
    this.browseCount = browseCount;
    this.publishDate = publishDate;
    this.publishRealName = publishRealName;
    this.userId = userId;
  }

  public Article() {
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public Long getBrowseCount() {
    return browseCount;
  }

  public void setBrowseCount(Long browseCount) {
    this.browseCount = browseCount;
  }


  public Date getPublishDate() {
    return publishDate;
  }

  public void setPublishDate(Date publishDate) {
    this.publishDate = publishDate;
  }


  public String getPublishRealName() {
    return publishRealName;
  }

  public void setPublishRealName(String publishRealName) {
    this.publishRealName = publishRealName;
  }


  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

}
